package com.bdqn.t308.test;

public class HelloSpring {

    //定义hello属性，该属性的值通过spring框架进行注入
    private String hello = null;

    public String getHello(){

        return hello;
    }

    public void setHello(String hello){
        this.hello = hello;
    }

    /**
     * 输出方法
     */
    public void print(){
        System.out.println(this.getHello());
    }
}
